Skip to content

chore(migrations): remove nulls from root state#39471

Merged
davidmurdoch merged 20 commits intomainfrom
migrations/189-remove-null-seedphrase
Feb 13, 2026
Merged

chore(migrations): remove nulls from root state#39471
davidmurdoch merged 20 commits intomainfrom
migrations/189-remove-null-seedphrase

Conversation

@davidmurdoch
Copy link
Contributor

@davidmurdoch davidmurdoch commented Jan 22, 2026

Description

Follow up to the workaround in 3345f3e

Open in GitHub Codespaces

Changelog

CHANGELOG entry: null

Related issues

Related to: #39464

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

Note

Low Risk
Small, targeted state cleanup that only removes keys when explicitly set to null; changes are covered by focused unit tests and fixture version bumps.

Overview
Adds migration 194 that cleans persisted root state by deleting seedWords and forgottenPassword only when the keys exist and their values are null, recording the deletions in changedKeys.

Registers the new migration in migrations/index.js, adds unit tests covering null/non-null/missing-key cases, and updates e2e fixtures/state snapshots to expect version/currentMigrationVersion 194.

Written by Cursor Bugbot for commit 913c96f. This will update automatically on new commits. Configure here.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 22, 2026

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@github-project-automation github-project-automation bot moved this to Needs dev review in PR review queue Jan 22, 2026
@davidmurdoch davidmurdoch moved this from Needs dev review to Needs more work from the author in PR review queue Jan 22, 2026
@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Jan 22, 2026

Builds ready [1f3d4b2]
UI Startup Metrics (1330 ± 107 ms)
PlatformBuildTypePageMetricTest Title (ms)Persona (ms)Mean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--13301113163210714141513
load--1105889132610211771279
domContentLoaded--1099877131510211721272
domInteractive--2916137222487
firstPaint--178671296190196317
backgroundConnect--21920128212223235
firstReactRender--15103641725
getState--3718108144065
initialActions--104112
loadScripts--88666811061049611060
setupStore--1262841320
numNetworkReqs--181275161267
19--------
BrowserifyPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--21961512583684722294641
load--1048909138311111121274
domContentLoaded--1035902136611011021259
domInteractive--36192322934100
firstPaint--188721383178233344
backgroundConnect--36820725513942601163
firstReactRender--22155252331
getState--2111342193218205378
initialActions--102111
loadScripts--82169411581068801050
setupStore--1876381935
numNetworkReqs--71381883081128
19--------
WebpackStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--8296751143868761004
load--66858597171717787
domContentLoaded--66358196471714780
domInteractive--2616103202381
firstPaint--1066231156120224
backgroundConnect--2451252831100
firstReactRender--17113651829
getState--3315147174356
initialActions--103112
loadScripts--66058095569711775
setupStore--1365981329
numNetworkReqs--181279171267
19--------
WebpackPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--1306987222424414231887
load--702605109390713903
domContentLoaded--691595108690701897
domInteractive--35181872733102
firstPaint--1476941773188286
backgroundConnect--72765815328533
firstReactRender--23164042429
getState--1477021516153171
initialActions--102111
loadScripts--689593107889699889
setupStore--181058101842
numNetworkReqs--71392553486137
19--------
FirefoxBrowserifyStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--14151099207820215111853
load--1127932172112312031302
domContentLoaded--1126927172112312031302
domInteractive--65322104087144
firstPaint--------
backgroundConnect--58173215664174
firstReactRender--14104351421
getState--176183251483
initialActions--103122
loadScripts--1091918169311211591250
setupStore--204492501260
numNetworkReqs--191077161471
19--------
BrowserifyPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--25261940503647126683412
load--12371006309627412921610
domContentLoaded--12371006309627412921610
domInteractive--144351345151136360
firstPaint--------
backgroundConnect--2522513423022921043
firstReactRender--23156482434
getState--249621435226315723
initialActions--213123
loadScripts--1189981289124912091494
setupStore--14316795186139666
numNetworkReqs--63331362380100
19--------
WebpackStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--16001356204117817062002
load--13531162180713314521591
domContentLoaded--13531162180113314521591
domInteractive--832917941122143
firstPaint--------
backgroundConnect--59192354264153
firstReactRender--15114641519
getState--179122201554
initialActions--102122
loadScripts--13161139170311513821522
setupStore--1143451221
numNetworkReqs--191080171468
19--------
WebpackPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--28182141647976929844650
load--15611167384552715042818
domContentLoaded--15601167384552715042817
domInteractive--1083046773121264
firstPaint--------
backgroundConnect--2572417463332301031
firstReactRender--2416171162738
getState--32466949268486894
initialActions--203123
loadScripts--14851155381645714542703
setupStore--901366311494354
numNetworkReqs--63341842781112
19--------
📊 Page Load Benchmark Results

Current Commit: 1f3d4b2 | Date: 1/22/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±79ms) 🟡 | historical mean value: 1.04s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 731ms (±104ms) 🟢 | historical mean value: 721ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 85ms (±87ms) 🟢 | historical mean value: 77ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 79ms 1.01s 1.76s 1.05s 1.76s
domContentLoaded 731ms 104ms 701ms 1.73s 733ms 1.73s
firstPaint 85ms 87ms 60ms 948ms 84ms 948ms
firstContentfulPaint 85ms 87ms 60ms 948ms 84ms 948ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs
  • background: 566 Bytes (0.01%)
  • ui: 287 Bytes (0%)
  • common: 18 Bytes (0%)

@davidmurdoch davidmurdoch marked this pull request as ready for review January 22, 2026 19:30
@davidmurdoch davidmurdoch added the team-extension-platform Extension Platform team label Jan 22, 2026
@davidmurdoch davidmurdoch requested a review from Copilot January 22, 2026 19:31
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces migration 190 to clean up null seedPhrase values from the MetaMask extension state. This addresses a state inconsistency issue where seedPhrase was being set to null instead of being properly removed.

Changes:

  • Added migration 190 to delete seedPhrase property when its value is null
  • Updated migration index to include the new migration
  • Updated E2E test snapshot to reflect the new version number

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
app/scripts/migrations/190.ts Implements migration logic to remove null seedPhrase from state and track the change
app/scripts/migrations/190.test.ts Adds tests for null and non-null seedPhrase scenarios
app/scripts/migrations/index.js Registers migration 190 in the migrations array
test/e2e/tests/metrics/state-snapshots/errors-before-init-opt-in-ui-state.json Updates version metadata to 190

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Jan 22, 2026

Builds ready [b05d079]
UI Startup Metrics (1281 ± 108 ms)
PlatformBuildTypePageMetricTest Title (ms)Persona (ms)Mean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--12811024170810813441454
load--107786813589711291238
domContentLoaded--107186513509611261225
domInteractive--2515100172376
firstPaint--159661168180188277
backgroundConnect--21620125612218245
firstReactRender--14102941623
getState--361973114159
initialActions--103111
loadScripts--8616641112969151013
setupStore--1264241318
numNetworkReqs--181279161268
19--------
BrowserifyPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--18541390229816719472265
load--1014888140111310301323
domContentLoaded--1002878139111410211314
domInteractive--35181922932103
firstPaint--194741385194215358
backgroundConnect--278203685134233618
firstReactRender--22154862328
getState--16513322920177205
initialActions--103112
loadScripts--79267311621118031106
setupStore--17114771836
numNetworkReqs--59361492761135
19--------
WebpackStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--810661111679850966
load--65158287164676785
domContentLoaded--64657886563669774
domInteractive--251694162274
firstPaint--1075827950133210
backgroundConnect--2651362933104
firstReactRender--16114151726
getState--3315146174254
initialActions--106111
loadScripts--64357686362667766
setupStore--1374481339
numNetworkReqs--181276161266
19--------
WebpackPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--1352980200625515431837
load--66759095772682856
domContentLoaded--65858494972668851
domInteractive--34181322632110
firstPaint--1196326152132239
backgroundConnect--117763320123590
firstReactRender--22173332328
getState--14512720915151177
initialActions--104111
loadScripts--65558294170666843
setupStore--1584861621
numNetworkReqs--983823447134206
19--------
FirefoxBrowserifyStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--14651159227118815531825
load--1175971187013812281450
domContentLoaded--1174965187013812271450
domInteractive--733223643110144
firstPaint--------
backgroundConnect--63212665090166
firstReactRender--14103941420
getState--1255871226
initialActions--103122
loadScripts--1134943183712511831336
setupStore--13576101239
numNetworkReqs--201078181475
19--------
BrowserifyPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--25101930509764425034207
load--12621021280837512002523
domContentLoaded--12611021280837511992523
domInteractive--122341026119114351
firstPaint--------
backgroundConnect--108251074153101233
firstReactRender--22158692430
getState--30767830234525732
initialActions--207123
loadScripts--1214988273031911691968
setupStore--1186764167123649
numNetworkReqs--5231109217590
19--------
WebpackStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--15481278206816116281899
load--13211089157510913901557
domContentLoaded--13211089157510913901556
domInteractive--892920242129143
firstPaint--------
backgroundConnect--53211933855137
firstReactRender--14102521421
getState--187167261532
initialActions--102122
loadScripts--12891075154910013491523
setupStore--173147251466
numNetworkReqs--201081181571
19--------
WebpackPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--29202103632787035884843
load--16621131501765716222887
domContentLoaded--16621130501765716212886
domInteractive--122293175312106265
firstPaint--------
backgroundConnect--1973013422921811089
firstReactRender--241699112554
getState--31967889271533856
initialActions--203123
loadScripts--15411114498854315422618
setupStore--975642123103391
numNetworkReqs--512986187284
19--------
📊 Page Load Benchmark Results

Current Commit: b05d079 | Date: 1/22/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±37ms) 🟡 | historical mean value: 1.03s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 724ms (±36ms) 🟢 | historical mean value: 714ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 77ms (±11ms) 🟢 | historical mean value: 76ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 37ms 1.02s 1.32s 1.06s 1.32s
domContentLoaded 724ms 36ms 705ms 994ms 741ms 994ms
firstPaint 77ms 11ms 64ms 176ms 84ms 176ms
firstContentfulPaint 77ms 11ms 64ms 176ms 84ms 176ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 790 Bytes (0.02%)
  • ui: 32.9 KiB (0.42%)
  • common: 731 Bytes (0.01%)

@davidmurdoch davidmurdoch changed the title chore(migrations): remove null seedPhrase from state chore(migrations): remove null seedWords from state Jan 23, 2026
@davidmurdoch davidmurdoch force-pushed the migrations/189-remove-null-seedphrase branch from b05d079 to 4a48857 Compare January 23, 2026 16:48
@davidmurdoch davidmurdoch requested a review from a team as a code owner January 23, 2026 16:48
@davidmurdoch davidmurdoch force-pushed the migrations/189-remove-null-seedphrase branch from 4a48857 to e62504f Compare January 23, 2026 16:55
@MetaMask MetaMask deleted a comment from Copilot AI Jan 23, 2026
@MetaMask MetaMask deleted a comment from Copilot AI Jan 23, 2026
@davidmurdoch davidmurdoch requested a review from Copilot January 23, 2026 16:56
@github-actions github-actions bot added size-M and removed size-S labels Jan 23, 2026
@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Jan 31, 2026

✨ Files requiring CODEOWNER review ✨

👨‍🔧 @MetaMask/extension-platform (1 files, +2 -2)
  • 📁 test/
    • 📁 e2e/
      • 📁 fixtures/
        • 📄 onboarding-fixture.json +2 -2

🧪 @MetaMask/qa (1 files, +2 -2)
  • 📁 test/
    • 📁 e2e/
      • 📁 fixtures/
        • 📄 onboarding-fixture.json +2 -2

@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Jan 31, 2026

Builds ready [7571098]
UI Startup Metrics (1345 ± 112 ms)
PlatformBuildTypePageMetricTest Title (ms)Persona (ms)Mean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--13451077164511214001542
load--1141897139511312021332
domContentLoaded--1134894138611211961327
domInteractive--281698182481
firstPaint--169661158182186327
backgroundConnect--23721132817239276
firstReactRender--17113951929
initialActions--106114
loadScripts--91368111721139811112
setupStore--1364661622
numNetworkReqs--221588171574
19--------
BrowserifyPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--19421598283517120532224
load--1085961195116310731504
domContentLoaded--1072952193616210551484
domInteractive--38191412636115
firstPaint--211731606242235378
backgroundConnect--32428342829331389
firstReactRender--24166182639
initialActions--1019214
loadScripts--83070916311498181192
setupStore--1584051724
numNetworkReqs--1254925552150237
19--------
WebpackStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--77262895180827925
load--63755987677709783
domContentLoaded--63255487176703776
domInteractive--2314102182078
firstPaint--1065526853150228
backgroundConnect--40171603042118
firstReactRender--1493041622
initialActions--102112
loadScripts--63055286975696768
setupStore--1164451123
numNetworkReqs--221585181576
19--------
WebpackPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--1220866178821913911664
load--6645841062109657988
domContentLoaded--6555781056109646981
domInteractive--3216145253196
firstPaint--14160937103180258
backgroundConnect--15714133529157186
firstReactRender--22173132430
initialActions--101011
loadScripts--6535761048108644973
setupStore--1154041318
numNetworkReqs--1284829463154273
19--------
FirefoxBrowserifyStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--14081130186416715351706
load--1139963148911612271341
domContentLoaded--1139962148911612271340
domInteractive--733421943100145
firstPaint--------
backgroundConnect--64222314683167
firstReactRender--1497681331
initialActions--103122
loadScripts--110594713229611931281
setupStore--175217281093
numNetworkReqs--231288171878
19--------
BrowserifyPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--25961904789870126633839
load--1249989310528912791744
domContentLoaded--1248984310528912781744
domInteractive--12535990115119296
firstPaint--------
backgroundConnect--3121214360461259886
firstReactRender--20142732227
initialActions--216123
loadScripts--1193977259623912321720
setupStore--2035783236374739
numNetworkReqs--72371873790165
19--------
WebpackStandard Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--16381346214017217531936
load--14061185165712114851640
domContentLoaded--14051185165612114851639
domInteractive--862929248126158
firstPaint--------
backgroundConnect--732626650114191
firstReactRender--14113231418
initialActions--102122
loadScripts--13641166162310614371542
setupStore--174234321253
numNetworkReqs--221283171871
19--------
WebpackPower User Home0--------
1--------
2--------
3--------
4--------
5--------
6--------
7--------
8--------
9--------
10--------
11--------
12--------
13--------
14--------
15--------
16--------
17--------
18--------
uiStartup--29622179499456631524098
load--16111263289534717812442
domContentLoaded--16111258289534817812442
domInteractive--11836583108113494
firstPaint--------
backgroundConnect--35712820363313201110
firstReactRender--23143952632
initialActions--217123
loadScripts--15621242274531917462352
setupStore--1468785198184626
numNetworkReqs--73361914386181
19--------
📊 Page Load Benchmark Results

Current Commit: 7571098 | Date: 1/31/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.00s (±39ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 693ms (±36ms) 🟢 | historical mean value: 721ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 77ms (±10ms) 🟢 | historical mean value: 76ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.00s 39ms 970ms 1.29s 1.02s 1.29s
domContentLoaded 693ms 36ms 669ms 956ms 714ms 956ms
firstPaint 77ms 10ms 64ms 160ms 84ms 160ms
firstContentfulPaint 77ms 10ms 64ms 160ms 84ms 160ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs
  • background: 699 Bytes (0.01%)
  • ui: -2 Bytes (0%)
  • common: 47 Bytes (0%)

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 3 potential issues.

@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Feb 11, 2026

Builds ready [7647c82]
UI Startup Metrics (1337 ± 77 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1337115315197713781476
load114597313037411851274
domContentLoaded113896912927511801269
domInteractive251686172272
firstPaint170641242159199275
backgroundConnect23321639820233259
firstReactRender1491921518
initialActions102112
loadScripts9217481074759651048
setupStore1262741418
numNetworkReqs231587201581
BrowserifyPower User HomeuiStartup244913589320134022785603
load12081038186016812511635
domContentLoaded11891029181616012281590
domInteractive37181782934105
firstPaint208811581188255375
backgroundConnect65928443517885362498
firstReactRender24155572738
initialActions106113
loadScripts95080615561529861332
setupStore17663101839
numNetworkReqs1175526249145208
WebpackStandard HomeuiStartup8346881164988701013
load71861999586775866
domContentLoaded71361498485768860
domInteractive261695182376
firstPaint1106438951142188
backgroundConnect26186592743
firstReactRender15103851723
initialActions105112
loadScripts71061297584766857
setupStore1274161324
numNetworkReqs231594211582
WebpackPower User HomeuiStartup1249869289534012681769
load7316311504133722994
domContentLoaded7206231497134708987
domInteractive41192153537123
firstPaint1546756785189332
backgroundConnect16713162969157285
firstReactRender22176162428
initialActions103111
loadScripts7176211488132707974
setupStore1244551418
numNetworkReqs1165527643142187
FirefoxBrowserifyStandard HomeuiStartup15681346232817815971989
load13471134210414013911624
domContentLoaded13451130209714013911624
domInteractive71312374392137
firstPaint------
backgroundConnect5730215255991
firstReactRender12101711314
initialActions102122
loadScripts13201111207413713651593
setupStore156167231343
numNetworkReqs2412102211784
BrowserifyPower User HomeuiStartup28022259412938829263617
load15591318236423216092159
domContentLoaded15581318236423216092159
domInteractive15438786136152430
firstPaint------
backgroundConnect3791271423294474969
firstReactRender18145951923
initialActions204122
loadScripts15181301230922515602071
setupStore13612762173138593
numNetworkReqs833617938110155
WebpackStandard HomeuiStartup16461338215114017071891
load14191194177310614731587
domContentLoaded14181190177310714731582
domInteractive953025044131148
firstPaint------
backgroundConnect63231753469146
firstReactRender15122731520
initialActions103122
loadScripts13861179175110314461541
setupStore166202211436
numNetworkReqs231286181776
WebpackPower User HomeuiStartup27881836811384228073700
load15541255551852215442175
domContentLoaded15531255551852215432174
domInteractive152381426189147331
firstPaint------
backgroundConnect425904386482548908
firstReactRender21156972328
initialActions207122
loadScripts15131211547950215132126
setupStore151111215222120647
numNetworkReqs803620638103145
📊 Page Load Benchmark Results

Current Commit: 7647c82 | Date: 2/11/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.06s (±76ms) 🟡 | historical mean value: 1.05s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 742ms (±102ms) 🟢 | historical mean value: 735ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 86ms (±84ms) 🟢 | historical mean value: 81ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.06s 76ms 1.03s 1.77s 1.08s 1.77s
domContentLoaded 742ms 102ms 713ms 1.73s 756ms 1.73s
firstPaint 86ms 84ms 60ms 924ms 88ms 924ms
firstContentfulPaint 86ms 84ms 60ms 924ms 88ms 924ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs
  • background: 698 Bytes (0.02%)
  • ui: 1 Bytes (0%)
  • common: 24 Bytes (0%)

@metamaskbotv2
Copy link
Contributor

metamaskbotv2 bot commented Feb 12, 2026

Builds ready [913c96f]
UI Startup Metrics (1397 ± 102 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup13971218186810214401589
load1203102715789612421376
domContentLoaded1195102215679512361361
domInteractive281698192581
firstPaint167701589159212267
backgroundConnect25223039120253281
firstReactRender17103851926
initialActions106113
loadScripts96078313049310021119
setupStore1272741521
numNetworkReqs231587201582
BrowserifyPower User HomeuiStartup2541143410783171822274639
load12571067178916813051699
domContentLoaded12391058178016112831671
domInteractive39173163635104
firstPaint222871289178272399
backgroundConnect913301910615224422793
firstReactRender24136462634
initialActions105112
loadScripts980813147015510151408
setupStore1564471731
numNetworkReqs1114525850130215
WebpackStandard HomeuiStartup87669612361119451076
load7636241162109844920
domContentLoaded7576201155108838909
domInteractive291792192586
firstPaint1126636549132198
backgroundConnect27186983142
firstReactRender15113651823
initialActions104112
loadScripts7556181153107834907
setupStore1373351325
numNetworkReqs231592211582
WebpackPower User HomeuiStartup1326988214620913971718
load76964513451127681024
domContentLoaded75663913351137491018
domInteractive41201522841111
firstPaint1607254377186324
backgroundConnect17213442650173276
firstReactRender23183832528
initialActions102111
loadScripts75463713251117461007
setupStore1354661520
numNetworkReqs1404325143159222
FirefoxBrowserifyStandard HomeuiStartup15441324232720615562011
load13361132209116613681613
domContentLoaded13351132208316513631612
domInteractive63342884373137
firstPaint------
backgroundConnect5224185235394
firstReactRender12102021215
initialActions103012
loadScripts13121108205916113461597
setupStore176186271440
numNetworkReqs241292211882
BrowserifyPower User HomeuiStartup29492079815874730503806
load16521319685264816262266
domContentLoaded16521318685264816262266
domInteractive171341797227157380
firstPaint------
backgroundConnect46812615733607291134
firstReactRender20156782129
initialActions204122
loadScripts16031271680964115302163
setupStore12612776172132494
numNetworkReqs803717934103149
WebpackStandard HomeuiStartup16751447215213217131954
load1446126417319514891637
domContentLoaded1445126417319514881637
domInteractive993023343132161
firstPaint------
backgroundConnect61272073669131
firstReactRender14112521419
initialActions103122
loadScripts1414124116939014581599
setupStore186153231458
numNetworkReqs241288191877
WebpackPower User HomeuiStartup27722067910773529103518
load16371327771765416442130
domContentLoaded16371327771765416442130
domInteractive15848784162134597
firstPaint------
backgroundConnect3521461058221440826
firstReactRender23167682631
initialActions203123
loadScripts15931305765865015722076
setupStore15791143194218571
numNetworkReqs79362334385182
📊 Page Load Benchmark Results

Current Commit: 913c96f | Date: 2/12/2026

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±41ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 728ms (±37ms) 🟢 | historical mean value: 727ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 81ms (±12ms) 🟢 | historical mean value: 79ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 41ms 1.01s 1.34s 1.06s 1.34s
domContentLoaded 728ms 37ms 705ms 1.00s 751ms 1.00s
firstPaint 81ms 12ms 64ms 184ms 92ms 184ms
firstContentfulPaint 81ms 12ms 64ms 184ms 92ms 184ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms
Bundle size diffs
  • background: 699 Bytes (0.02%)
  • ui: 8 Bytes (0%)
  • common: 27 Bytes (0%)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release-13.20.0 Issue or pull request that will be included in release 13.20.0 size-M team-extension-platform Extension Platform team

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

6 participants